import {CHANGE_INPUT_VALUE,ADD_TODO_VALUE,DELETE_TODO_VALUE} from './actionTypes'

export const getInputChangeAction = (value) =>({
  type: CHANGE_INPUT_VALUE,
  value
});

export const getAddAction = () =>({
  type: ADD_TODO_VALUE
});


export const getDeleteAction = (index) =>({
  type: DELETE_TODO_VALUE,
  index
});